import { all } from "redux-saga/effects";
import { watchCarouselSettingSaga } from "./modules/carouselSetting";
import { watchFriendshipLinkSettingSaga } from "./modules/friendshipLinkSetting";
import { watchHomeModuleSettingSaga } from "./modules/homeModuleSetting";
import { watchLogoTitleSaga } from "./modules/logoTitle";
import { watchMenuSettingSaga } from "./modules/menuSetting";
import { watchModuleManageSaga } from "./modules/moduleManage";
import { watchUserSaga } from "./modules/user";
import { watchUserManageSaga } from "./modules/userManage";

function* rootSaga() {
  yield all([
    watchCarouselSettingSaga(),
    watchFriendshipLinkSettingSaga(),
    watchHomeModuleSettingSaga(),
    watchLogoTitleSaga(),
    watchMenuSettingSaga(),
    watchModuleManageSaga(),
    watchUserSaga(),
    watchUserManageSaga(),
  ]);
}

export default rootSaga;
